package com.contest.entity;

import com.baomidou.mybatisplus.annotations.TableId;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * 
 *
 * @author yfl
 * @email 617823298@qq.com
 * @date 2018-03-21 14:37:25
 */
@TableName("limit_setup")
public class LimitSetup extends Model<LimitSetup> implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId("fd_id")
	private String fdId;

	//当日最高下注额
	@TableField("fd_today_limit")
	private BigDecimal fdTodayLimit;
	//赔率1%=0.001
	@TableField("fd_odds")
	private BigDecimal fdOdds;
	//是否启用0:否,1:是
	@TableField("fd_is_enable")
	private Integer fdIsEnable;
	//创建时间
	@TableField("fd_created_time")
	private String fdCreatedTime;
	//创建人
	@TableField("fd_creator")
	private String fdCreator;
	/**
	 * 设置：主键
	 */
	public void setFdId(String fdId) {
			this.fdId = fdId;
	}
	/**
	 * 获取：主键
	 */
	public String getFdId() {
			return fdId;
	}
	/**
	 * 设置：当日最高下注额
	 */
	public void setFdTodayLimit(BigDecimal fdTodayLimit) {
			this.fdTodayLimit = fdTodayLimit;
	}
	/**
	 * 获取：当日最高下注额
	 */
	public BigDecimal getFdTodayLimit() {
			return fdTodayLimit;
	}
	/**
	 * 设置：赔率1%=0.001
	 */
	public void setFdOdds(BigDecimal fdOdds) {
			this.fdOdds = fdOdds;
	}
	/**
	 * 获取：赔率1%=0.001
	 */
	public BigDecimal getFdOdds() {
			return fdOdds;
	}
	/**
	 * 设置：是否启用0:否,1:是
	 */
	public void setFdIsEnable(Integer fdIsEnable) {
			this.fdIsEnable = fdIsEnable;
	}
	/**
	 * 获取：是否启用0:否,1:是
	 */
	public Integer getFdIsEnable() {
			return fdIsEnable;
	}
	/**
	 * 设置：创建时间
	 */
	public void setFdCreatedTime(String fdCreatedTime) {
			this.fdCreatedTime = fdCreatedTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getFdCreatedTime() {
			return fdCreatedTime;
	}
	/**
	 * 设置：创建人
	 */
	public void setFdCreator(String fdCreator) {
			this.fdCreator = fdCreator;
	}
	/**
	 * 获取：创建人
	 */
	public String getFdCreator() {
			return fdCreator;
	}

	@Override
	protected Serializable pkVal() {
			return this.fdId;
	}
}
